{partition action="GETPART" varname="part" id=$id}
<form action="index.php?module=partition&action=editpart&id={$id}&fixact=1" method="post">
<fieldset class="groupbox">
    <legend>Параметры раздела</legend>
<table border="0" cellpadding="0" cellspacing="2">
<tr><td width="20%">Название раздела</td><td width="*"><input type="text" name="name" value="{$part.dir_name}"></td></tr>
<tr><td width="20%">Расширение</td><td width="*">{extensions action="GETALL" varname="exts"}
<select name="extension" style="width: 50%">
<option value="-1" {if $part.extension=="" }SELECTED{/if}>---Нет расширения---</option>
{foreach from=$exts item=ext name="extensions"}
<option value="{$smarty.foreach.extensions.iteration-1}" {if $part.extension==$ext }SELECTED{/if}>{$ext}</option>
{/foreach}</select></td></tr>
<tr><td></td><td><input type="submit" value="Сохранить" class="btn"></td></tr></table>
</fieldset>
</form>